<?php

class Activity_Widget_Browse_Activity_Item extends Nuo_Widget
{
	function execute()
	{
		$item = $this -> getParam('item');

		if (!$item)
		{
			return '';
		}
		$viewer = Nuo::getUser();
		
		$isUser = is_object($viewer);
		
		return $this -> render(array(
			'obj' => $item,
			'viewer' => $viewer,
			'isUser' => $isUser,
		));
	}

}
